import {createRouter, createWebHistory} from 'vue-router';

// 导入你的组件
// import HomeComponent from './components/tallyPeriod.vue';

const routes = [
    {path: '/', component: () => import('../views/homePage.vue')},
    {path: '/tally', component: () => import('../views/tallyPeriod.vue')},
    {path: '/record', component: () => import('../views/RecordBill.vue')},
    {path: '/trip', component: () => import('../views/TripFee.vue')},
];

const index = createRouter({
    history: createWebHistory(),
    routes
});

export default index;